qt调试android程序崩溃,使用qt5开发的Android应用程序合并了AWS C++库崩溃 您所在的位置:网站首页 qt Mac 崩溃收集 qt调试android程序崩溃,使用qt5开发的Android应用程序合并了AWS C++库崩溃

qt调试android程序崩溃,使用qt5开发的Android应用程序合并了AWS C++库崩溃

2023-08-13 01:57| 来源: 网络整理| 查看: 265

我想开发一种

Android应用程序

它在行刑一开始就崩溃了。

我在用

第5.11节

我认为配置很好(我正在使用

上一个Android SDK和ndk10e

)因为我可以运行一个简单的Android应用程序

我在用最后一个

AWS C++库

. 我用这个cake命令编译了这个库:

cmake -DBUILD_ONLY="email;cognito-identity;lambda;core;cognito-idp;identity-management" -DNDK_DIR="/Downloads/android-ndk-r10e" -DANDROID_STL=gnustl_shared -DTARGET_ARCH=ANDROID -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="/aws-sdk-cpp/aws_build_android/build_dynamic_output" /aws-sdk-cpp/aws_build_android/aws-sdk-cpp-master

正如我所说,应用程序崩溃时会出现以下终极调试消息:

F libc:致命信号6(SIGABRT),tid 8731中的代码-6(qtMainLoopThrea)

以下是应用程序调试消息的完整列表:

E Zygote : isWhitelistProcess - Process is Whitelisted

E libpersona: scanKnoxPersonas

E libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory

W SELinux : SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SM-G930F_8.0.0_0018, [-1 -1 -1 -1 0 1]

I SELinux : SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=org.qtproject.example.crio_Android

I zygote : Late-enabling -Xcheck:jni

D TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service

D ActivityThread: Added TimaKeyStore provider

I zygote : no shared libraies, dex_files: 1

I zygote : Do partial code cache collection, code=31KB, data=27KB

I zygote : After code cache collection, code=31KB, data=27KB

I zygote : Increasing code cache capacity to 128KB

W System : ClassLoader referenced unknown path:

I QtCore : Start

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Network.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Qml.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Gui.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Quick.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Widgets.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Charts.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5QuickParticles.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5QuickTemplates2.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5QuickControls2.so" has unsupported flags DT_FLAGS_1=0x81

W linker : "/data/data/org.qtproject.example.crio_Android/qt-reserved-files/plugins/platforms/android/libqtforandroid.so" has unsupported flags DT_FLAGS_1=0x81

I Qt : qt started

W linker : "/data/data/org.qtproject.example.crio_Android/qt-reserved-files/plugins/bearer/libqandroidbearer.so" has unsupported flags DT_FLAGS_1=0x81

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 674 us, width=30, height=30

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 1560 us, width=66, height=96

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 1363 us, width=66, height=96

I zygote : Do partial code cache collection, code=59KB, data=54KB

I zygote : After code cache collection, code=59KB, data=54KB

I zygote : Increasing code cache capacity to 256KB

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 413 us, width=5, height=5

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 527 us, width=30, height=30

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 593 us, width=30, height=30

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 412 us, width=5, height=5

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 461 us, width=12, height=48

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 457 us, width=12, height=48

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 1234 us, width=66, height=48

D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 375 us, width=2, height=2

D OpenGLRenderer: HWUI GL Pipeline

D ViewRootImpl@12633f4[QtActivity]: setView = DecorView@3d0a71d[QtActivity] TM=true MM=false

D ViewRootImpl@12633f4[QtActivity]: dispatchAttachedToWindow

V Surface : sf_framedrop debug : 0x4f4c, game : false, logging : 0

D ViewRootImpl@12633f4[QtActivity]: Relayout returned: old=[0,0][0,0] new=[0,0][1080,1920] result=0x7 surface={valid=true 3761723392} changed=true

I OpenGLRenderer: Initialized EGL, version 1.4

D OpenGLRenderer: Swap behavior 2

D libGLESv1: STS_GLApi : DTS, ODTC are not allowed for Package : org.qtproject.example.crio_Android

D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000, [1080x1920]-format:1

D OpenGLRenderer: eglCreateWindowSurface = 0xe7b37918

D ViewRootImpl@12633f4[QtActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1

D ViewRootImpl@12633f4[QtActivity]: MSG_WINDOW_FOCUS_CHANGED 1

V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@d6c9b60 nm : org.qtproject.example.crio_Android ic=null

I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus

V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@ad59819 nm : org.qtproject.example.crio_Android ic=null

W linker : "/data/data/org.qtproject.example.crio_Android/qt-reserved-files/plugins/styles/libqandroidstyle.so" has unsupported flags DT_FLAGS_1=0x81

**F libc : Fatal signal 6 (SIGABRT), code -6 in tid 8731 (qtMainLoopThrea)**

非常感谢你的帮助!



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有